package com.shaofei.gouzaofangfa

/**
 *${DESCRIPTION} -- 这个没作用，所以在class里面自定义了
 * Created by apk2sf on 2017/12/18.
 * email: apk2sf@163.com
 * QQ：337081267
 */
class xxx(var name:String){
    constructor(name: String,age:Int):this(name){
        println("name age ")
    }

    constructor(name:String,age:Int,sex:Char):this(name){
        println("name,age,sex")
    }

    init {
        println("init ")
    }



}

fun main(args: Array<String>) {
    xxx("shaofei",12,'2')

    /*
    * init
name,age,sex
    * */
}